package com.hx;

import com.hx.rpc.RpcProxyServer;
import com.hx.service.HelloServiceImpl;
import com.hx.service.IHelloService;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        System.out.println("SERVER START ... ");
        IHelloService helloService = new HelloServiceImpl();
        RpcProxyServer proxyServer = new RpcProxyServer();
        proxyServer.publish(8888,helloService);
    }
}
